<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:MayhemWpf.UserControls">


    <Style TargetType="{x:Type local:Borders}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type local:Borders}">
                    <Border BorderThickness="1" CornerRadius="10,10,10,10" BorderBrush="#D7D9DE" Background="#A2A6AF" Margin="10,15,10,10" Padding="0.1" >
                        <Grid>
                            <Border BorderThickness="1,1,0,0" CornerRadius="10,10,10,10" BorderBrush="#333333">
                                <Border.Effect>
                                    <BlurEffect Radius="4" />
                                </Border.Effect>
                            </Border>
                            <Border Padding="7">
                                <ContentPresenter Content="{TemplateBinding Content}" />
                            </Border>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
